package cate.common.table.item.yoke.sheet;

import cate.common.table.ESheet;
import cate.common.table.item.yoke.row.HeroLimitRow;
import cate.common.table.item.yoke.row.YokeStarLimitRow;

public class HeroLimitSheet extends ESheet<HeroLimitRow> {
    @Override
    public String getSheetName() {
        return "羁绊英雄限制";
    }

    public HeroLimitRow getRowByProtoId(int protoId) {
        for (HeroLimitRow row :
                getList()) {
            if (row.protoId == protoId) {
                return row;
            }
        }
        return null;
    }
}
